home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-10-10 | 1.3 KB | 44 lines | [TEXT/MPS ] |
- // Copyright © 1995 Apple Computer, Inc. All rights reserved.
- // Release Version: $ 1.0 d11 $
-
- #ifndef _EVENTFRAME_
- #define _EVENTFRAME_
-
- //=======================================================================
- // ----- Framework Includes -----
- #ifndef FWFRAME_H
- #include <FWFrame.h> // FW_CFrame
- #endif
-
- // ----- OS Layer -----
- #ifndef FWEVENT_H
- #include "FWEvent.h" // FW_PlatformEventTime, FW_CMouseEvent
- #endif
-
- //=======================================================================
- class FW_CLASS_ATTR CEventPart;
-
- //=======================================================================
- class FW_CLASS_ATTR CEventFrame : public FW_CFrame {
- public:
- CEventFrame(Environment* ev,
- ODFrame* odFrame,
- FW_CPresentation* presentation,
- CEventPart* eventPart);
- virtual ~CEventFrame();
- protected:
- // overrides
- virtual void Draw(Environment *ev,
- ODFacet* odFacet,
- ODShape* invalidShape);
- virtual FW_Boolean DoMouseDown(Environment* ev,
- const FW_CMouseEvent& theMouseEvent);
- virtual FW_Boolean DoCharKey(Environment* ev,
- const FW_CCharKeyEvent& theCharKeyEvent);
- virtual FW_Boolean DoVirtualKey(Environment* ev,
- const FW_CVirtualKeyEvent& theVirtualKeyEvent);
- };
-
- //=======================================================================
- #endif
-